<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>YBCenter Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">YBNetworkingDemoDoc </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">嘉联支付有限公司</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/callbackQueue">callbackQueue</option>
		
		<option value="//api/name/consoleLog">consoleLog</option>
		
		<option value="//api/name/engine">engine</option>
		
		<option value="//api/name/generalHeaders">generalHeaders</option>
		
		<option value="//api/name/generalParameters">generalParameters</option>
		
		<option value="//api/name/generalServer">generalServer</option>
		
		<option value="//api/name/generalUserInfo">generalUserInfo</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/defaultCenter">+ defaultCenter</option>
		
		<option value="//api/name/setErrorProcessBlock:">+ setErrorProcessBlock:</option>
		
		<option value="//api/name/setGeneralHeaderValue:forField:">+ setGeneralHeaderValue:forField:</option>
		
		<option value="//api/name/setGeneralParameterValue:forKey:">+ setGeneralParameterValue:forKey:</option>
		
		<option value="//api/name/setRequestProcessBlock:">+ setRequestProcessBlock:</option>
		
		<option value="//api/name/setResponseProcessBlock:">+ setResponseProcessBlock:</option>
		
		<option value="//api/name/setupConfig:">+ setupConfig:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/cancelRequest:">- cancelRequest:</option>
		
		<option value="//api/name/cancelRequest:onCancel:">- cancelRequest:onCancel:</option>
		
		<option value="//api/name/getRequest:">- getRequest:</option>
		
		<option value="//api/name/isNetworkReachable">- isNetworkReachable</option>
		
		<option value="//api/name/networkConnectionType">- networkConnectionType</option>
		
		<option value="//api/name/sendRequest:">- sendRequest:</option>
		
		<option value="//api/name/sendRequest:onFailure:">- sendRequest:onFailure:</option>
		
		<option value="//api/name/sendRequest:onFinished:">- sendRequest:onFinished:</option>
		
		<option value="//api/name/sendRequest:onProgress:onSuccess:onFailure:">- sendRequest:onProgress:onSuccess:onFailure:</option>
		
		<option value="//api/name/sendRequest:onProgress:onSuccess:onFailure:onFinished:">- sendRequest:onProgress:onSuccess:onFailure:onFinished:</option>
		
		<option value="//api/name/sendRequest:onSuccess:">- sendRequest:onSuccess:</option>
		
		<option value="//api/name/sendRequest:onSuccess:onFailure:">- sendRequest:onSuccess:onFailure:</option>
		
		<option value="//api/name/sendRequest:onSuccess:onFailure:onFinished:">- sendRequest:onSuccess:onFailure:onFinished:</option>
		
		<option value="//api/name/setErrorProcessBlock:">- setErrorProcessBlock:</option>
		
		<option value="//api/name/setGeneralHeaderValue:forField:">- setGeneralHeaderValue:forField:</option>
		
		<option value="//api/name/setGeneralParameterValue:forKey:">- setGeneralParameterValue:forKey:</option>
		
		<option value="//api/name/setRequestProcessBlock:">- setRequestProcessBlock:</option>
		
		<option value="//api/name/setResponseProcessBlock:">- setResponseProcessBlock:</option>
		
		<option value="//api/name/setupConfig:">- setupConfig:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">YBCenter Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>YBCenter.h<br />YBCenter.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p><strong><strong><strong> 发送请求和管理请求中心 </strong></strong></strong></p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/defaultCenter" title="defaultCenter"></a>
	<h3 class="method-title"><code><a href="#//api/name/defaultCenter">+&nbsp;defaultCenter</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>单例对象</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)defaultCenter</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>单例对象</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/generalServer" title="generalServer"></a>
	<h3 class="method-title"><code><a href="#//api/name/generalServer">&nbsp;&nbsp;generalServer</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>如果 <a href="../Classes/YBRequest.html">YBRequest</a>.server 为'nil' ,且<a href="../Classes/YBRequest.html">YBRequest</a>.useGeneralServer 为'YES' 会将'generalServer'的值赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.server</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) NSString *generalServer</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>如果 <a href="../Classes/YBRequest.html">YBRequest</a>.server 为'nil' ,且<a href="../Classes/YBRequest.html">YBRequest</a>.useGeneralServer 为'YES' 会将'generalServer'的值赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.server</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/generalParameters" title="generalParameters"></a>
	<h3 class="method-title"><code><a href="#//api/name/generalParameters">&nbsp;&nbsp;generalParameters</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>YBRequestEncryptNormal/YBRequestParamatersTypeDictinary 类型请求参数 如果 <a href="../Classes/YBRequest.html">YBRequest</a>.useGeneralParameters 为'YES' 且'generalParameters'不为空 会赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.parameters</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable, readonly) NSMutableDictionary&lt;NSString*id&gt; *generalParameters</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>YBRequestEncryptNormal/YBRequestParamatersTypeDictinary 类型请求参数 如果 <a href="../Classes/YBRequest.html">YBRequest</a>.useGeneralParameters 为'YES' 且'generalParameters'不为空 会赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.parameters</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/generalHeaders" title="generalHeaders"></a>
	<h3 class="method-title"><code><a href="#//api/name/generalHeaders">&nbsp;&nbsp;generalHeaders</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>如果 <a href="../Classes/YBRequest.html">YBRequest</a>.useGeneralHeaders 为'YES' 且'generalHeaders'不为空 将赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.headers</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable, readonly) NSMutableDictionary&lt;NSString*NSString*&gt; *generalHeaders</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>如果 <a href="../Classes/YBRequest.html">YBRequest</a>.useGeneralHeaders 为'YES' 且'generalHeaders'不为空 将赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.headers</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/generalUserInfo" title="generalUserInfo"></a>
	<h3 class="method-title"><code><a href="#//api/name/generalUserInfo">&nbsp;&nbsp;generalUserInfo</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>如果 <a href="../Classes/YBRequest.html">YBRequest</a>.userInfo 为'nil' 且'generalUserInfo'不为空 将赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.userInfo</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) NSDictionary *generalUserInfo</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>如果 <a href="../Classes/YBRequest.html">YBRequest</a>.userInfo 为'nil' 且'generalUserInfo'不为空 将赋值给<a href="../Classes/YBRequest.html">YBRequest</a>.userInfo</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/callbackQueue" title="callbackQueue"></a>
	<h3 class="method-title"><code><a href="#//api/name/callbackQueue">&nbsp;&nbsp;callbackQueue</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>默认为'NULL' 请求回调队列 默认使用默认队列</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) dispatch_queue_t callbackQueue</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>默认为'NULL' 请求回调队列 默认使用默认队列</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/engine" title="engine"></a>
	<h3 class="method-title"><code><a href="#//api/name/engine">&nbsp;&nbsp;engine</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>全局请求对象 默认为'<a href="../Classes/YBEngine.html#//api/name/sharedEngine">[YBEngine sharedEngine]</a>'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) YBEngine *engine</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>全局请求对象 默认为'<a href="../Classes/YBEngine.html#//api/name/sharedEngine">[YBEngine sharedEngine]</a>'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/consoleLog" title="consoleLog"></a>
	<h3 class="method-title"><code><a href="#//api/name/consoleLog">&nbsp;&nbsp;consoleLog</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否在控制台打印请求和回调信息 默认'NO',不打印</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL consoleLog</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否在控制台打印请求和回调信息 默认'NO',不打印</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setupConfig:" title="setupConfig:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setupConfig:">&ndash;&nbsp;setupConfig:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建 YBConfig对象 配置YBCenter中所的属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setupConfig:(void ( ^ ) ( YBConfig *config ))<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建 YBConfig对象 配置YBCenter中所的属性</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setRequestProcessBlock:" title="setRequestProcessBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setRequestProcessBlock:">&ndash;&nbsp;setRequestProcessBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置请求的block</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setRequestProcessBlock:(YBCenterRequestProcessBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置请求的block</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setResponseProcessBlock:" title="setResponseProcessBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setResponseProcessBlock:">&ndash;&nbsp;setResponseProcessBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置回调的block</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setResponseProcessBlock:(YBCenterResponseProcessBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置回调的block</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setErrorProcessBlock:" title="setErrorProcessBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setErrorProcessBlock:">&ndash;&nbsp;setErrorProcessBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置请求错误block</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setErrorProcessBlock:(YBCenterErrorProcessBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置请求错误block</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setGeneralHeaderValue:forField:" title="setGeneralHeaderValue:forField:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setGeneralHeaderValue:forField:">&ndash;&nbsp;setGeneralHeaderValue:forField:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>在YBCenter中设置http请求头，如果该值为'nil' 会移除已经存在的请求头</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setGeneralHeaderValue:(nullable NSString *)<em>value</em> forField:(NSString *)<em>field</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>value</code></th>
						<td><p>value</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>field</code></th>
						<td><p>key</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>在YBCenter中设置http请求头，如果该值为'nil' 会移除已经存在的请求头</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setGeneralParameterValue:forKey:" title="setGeneralParameterValue:forKey:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setGeneralParameterValue:forKey:">&ndash;&nbsp;setGeneralParameterValue:forKey:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>在YBCenter中设置公共的请求参数 如果该值为'nil',会移除已经存在的公共请求参数</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setGeneralParameterValue:(nullable id)<em>value</em> forKey:(NSString *)<em>key</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>value</code></th>
						<td><p>value</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>key</code></th>
						<td><p>key</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>在YBCenter中设置公共的请求参数 如果该值为'nil',会移除已经存在的公共请求参数</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:" title="sendRequest:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:">&ndash;&nbsp;sendRequest:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p>&lt;#configBlock description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onSuccess:" title="sendRequest:onSuccess:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onSuccess:">&ndash;&nbsp;sendRequest:onSuccess:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个带成功回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onSuccess:(nullable YBSuccessBlock)<em>successBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>successBlock</code></th>
						<td><p>成功回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个带成功回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onFailure:" title="sendRequest:onFailure:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onFailure:">&ndash;&nbsp;sendRequest:onFailure:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个带失败回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onFailure:(nullable YBFailureBlock)<em>failureBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failureBlock</code></th>
						<td><p>失败回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个带失败回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onFinished:" title="sendRequest:onFinished:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onFinished:">&ndash;&nbsp;sendRequest:onFinished:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个带完成回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onFinished:(nullable YBFinishedBlock)<em>finishedBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>finishedBlock</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个带完成回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onSuccess:onFailure:" title="sendRequest:onSuccess:onFailure:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onSuccess:onFailure:">&ndash;&nbsp;sendRequest:onSuccess:onFailure:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个带成功和失败回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onSuccess:(nullable YBSuccessBlock)<em>successBlock</em> onFailure:(nullable YBFailureBlock)<em>failureBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>successBlock</code></th>
						<td><p>成功回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failureBlock</code></th>
						<td><p>失败回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个带成功和失败回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onSuccess:onFailure:onFinished:" title="sendRequest:onSuccess:onFailure:onFinished:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onSuccess:onFailure:onFinished:">&ndash;&nbsp;sendRequest:onSuccess:onFailure:onFinished:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个带成功回调、失败回调和完成回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onSuccess:(nullable YBSuccessBlock)<em>successBlock</em> onFailure:(nullable YBFailureBlock)<em>failureBlock</em> onFinished:(nullable YBFinishedBlock)<em>finishedBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>successBlock</code></th>
						<td><p>成功回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failureBlock</code></th>
						<td><p>失败回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>finishedBlock</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个带成功回调、失败回调和完成回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onProgress:onSuccess:onFailure:" title="sendRequest:onProgress:onSuccess:onFailure:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onProgress:onSuccess:onFailure:">&ndash;&nbsp;sendRequest:onProgress:onSuccess:onFailure:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个Upload/Download且带进度、成功、失败回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onProgress:(nullable YBProgressBlock)<em>progressBlock</em> onSuccess:(nullable YBSuccessBlock)<em>successBlock</em> onFailure:(nullable YBFailureBlock)<em>failureBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>progressBlock</code></th>
						<td><p>进度block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>successBlock</code></th>
						<td><p>成功回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failureBlock</code></th>
						<td><p>失败回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个Upload/Download且带进度、成功、失败回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendRequest:onProgress:onSuccess:onFailure:onFinished:" title="sendRequest:onProgress:onSuccess:onFailure:onFinished:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendRequest:onProgress:onSuccess:onFailure:onFinished:">&ndash;&nbsp;sendRequest:onProgress:onSuccess:onFailure:onFinished:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建一个Upload/Download且带进度、成功、失败、完成回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable NSString *)sendRequest:(YBRequestConfigBlock)<em>configBlock</em> onProgress:(nullable YBProgressBlock)<em>progressBlock</em> onSuccess:(nullable YBSuccessBlock)<em>successBlock</em> onFailure:(nullable YBFailureBlock)<em>failureBlock</em> onFinished:(nullable YBFinishedBlock)<em>finishedBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>configBlock</code></th>
						<td><p><a href="../Classes/YBRequest.html">YBRequest</a> 对象block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>progressBlock</code></th>
						<td><p>进度block</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>successBlock</code></th>
						<td><p>成功回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failureBlock</code></th>
						<td><p>失败回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>finishedBlock</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建一个Upload/Download且带进度、成功、失败、完成回调的YBRequest请求 唯一identifier 失败为'nil'</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/cancelRequest:" title="cancelRequest:"></a>
	<h3 class="method-title"><code><a href="#//api/name/cancelRequest:">&ndash;&nbsp;cancelRequest:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过请求的identifier取消正在请求的request</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)cancelRequest:(NSString *)<em>identifier</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>identifier</code></th>
						<td><p>请求的唯一标识</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过请求的identifier取消正在请求的request</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/cancelRequest:onCancel:" title="cancelRequest:onCancel:"></a>
	<h3 class="method-title"><code><a href="#//api/name/cancelRequest:onCancel:">&ndash;&nbsp;cancelRequest:onCancel:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过请求的identifier取消请求 带取消回调</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)cancelRequest:(NSString *)<em>identifier</em> onCancel:(nullable YBCancelBlock)<em>cancelBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>identifier</code></th>
						<td><p>请求唯一标识</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>cancelBlock</code></th>
						<td><p>取消回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过请求的identifier取消请求 带取消回调</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getRequest:" title="getRequest:"></a>
	<h3 class="method-title"><code><a href="#//api/name/getRequest:">&ndash;&nbsp;getRequest:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过请求的identifier获取当前请求</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable id)getRequest:(NSString *)<em>identifier</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>identifier</code></th>
						<td><p>请求唯一标识</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过请求的identifier获取当前请求</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/isNetworkReachable" title="isNetworkReachable"></a>
	<h3 class="method-title"><code><a href="#//api/name/isNetworkReachable">&ndash;&nbsp;isNetworkReachable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>检查当前网络是否可用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)isNetworkReachable</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>检查当前网络是否可用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/networkConnectionType" title="networkConnectionType"></a>
	<h3 class="method-title"><code><a href="#//api/name/networkConnectionType">&ndash;&nbsp;networkConnectionType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取当前网络类型</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (YBNetworkConnectionType)networkConnectionType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取当前网络类型</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setupConfig:" title="setupConfig:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setupConfig:">+&nbsp;setupConfig:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>创建 YBConfig对象 配置YBCenter中所的属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setupConfig:(void ( ^ ) ( YBConfig *config ))<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>&lt;#block description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>创建 YBConfig对象 配置YBCenter中所的属性</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setRequestProcessBlock:" title="setRequestProcessBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setRequestProcessBlock:">+&nbsp;setRequestProcessBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置请求的block</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setRequestProcessBlock:(YBCenterRequestProcessBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>&lt;#block description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置请求的block</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setResponseProcessBlock:" title="setResponseProcessBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setResponseProcessBlock:">+&nbsp;setResponseProcessBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置回调的block</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setResponseProcessBlock:(YBCenterResponseProcessBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>&lt;#block description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置回调的block</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setErrorProcessBlock:" title="setErrorProcessBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setErrorProcessBlock:">+&nbsp;setErrorProcessBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>设置请求错误block</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setErrorProcessBlock:(YBCenterErrorProcessBlock)<em>block</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>block</code></th>
						<td><p>&lt;#block description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>设置请求错误block</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setGeneralHeaderValue:forField:" title="setGeneralHeaderValue:forField:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setGeneralHeaderValue:forField:">+&nbsp;setGeneralHeaderValue:forField:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>在YBCenter中设置http请求头，如果该值为'nil' 会移除已经存在的请求头</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setGeneralHeaderValue:(nullable NSString *)<em>value</em> forField:(NSString *)<em>field</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>value</code></th>
						<td><p>&lt;#value description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>field</code></th>
						<td><p>&lt;#field description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>在YBCenter中设置http请求头，如果该值为'nil' 会移除已经存在的请求头</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setGeneralParameterValue:forKey:" title="setGeneralParameterValue:forKey:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setGeneralParameterValue:forKey:">+&nbsp;setGeneralParameterValue:forKey:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>在YBCenter中设置公共的请求参数 如果该值为'nil',会移除已经存在的公共请求参数</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setGeneralParameterValue:(nullable id)<em>value</em> forKey:(NSString *)<em>key</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>value</code></th>
						<td><p>&lt;#value description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>key</code></th>
						<td><p>&lt;#key description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>在YBCenter中设置公共的请求参数 如果该值为'nil',会移除已经存在的公共请求参数</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">YBCenter.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2020 嘉联支付有限公司. All rights reserved. Updated: 2020-08-21</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>